Technote Number: 1090756
Problem:
This issue was partially addressed in Notes 4.5.5 and 4.6.1.
Profile documents are kept in memory when they are created. The memory is
released when the script ends. Note: Once an insuffcient memory condition has
occurred the memory and or database may not act as expected when the script
ends.
A subsequent Software Problem Report (SPR) KGUT4KU2L3 has been reported to
Lotus Quality Engineering on this issue. This issue was partially resolved in
Notes 5.0.7 by using an additional Notes.ini parameter NSF_DOCCACHE_THREAD=1.
With this parameter set you can cycle through approximately an additional 5,000
documents. This is an approximate figure, the number of additional documents
may vary from system to system depending on configuration. Even when using the
noted parameter it is suggested to also incorporate the work around noted below.
Note: Once this error condition has occurred the Notes Domino server or client
executing the script should be restarted. If an Operating System error has
also occurred the system should be re-booted as well. If Notes Domino is not
restarted then unexpected behavior can occur where the GetProfileDocument
method may not return a handle to an existing profile document.
Workaround:
The memory usage can be reduced by deleting the object handle to the profile
document, but if you delete the object handle to the NotesDatabase object, then
the memory usage is greatly reduced.
For example, based on the agent example above, the code would be altered to the
following:
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim i As Integer
-
For i = 1 To 6000
Print Cstr(i)
Set db = new NotesDatabase("<server name>", "<database name>")
Set doc = db.GetProfileDocument("ProfileDoc", Cstr(i))
Delete doc
Delete db
Next
Related Documents:
Error: "Profile Document Enumeration Pool is Full" When Using
GetProfileDocCollection
Document #: 1094056 (190422)
More >
|  |
|
|
|
|